home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-19 / ozgis88.zip / OZGIS65.TUT < prev    next >
Text File  |  1992-01-04  |  2KB  |  56 lines

  1.                         BUILDING ZONES FROM SEGMENTS   
  2.                         ============================
  3.  
  4.  
  5.    OzZone Program
  6.    -------------
  7.  
  8. The program takes line segments and joins the ends together to form polygons.   
  9. The names of the zones on each side of the segments are used to derive the zone 
  10. names.  
  11.  
  12. Complex polygons are handled. Zones can be made up of many polygons, both   
  13. disjoint polygons and polygons within polygons. The display order of the
  14. polygons are calculated so e.g islands within lakes within zones all appear.
  15.  
  16. The OzZone program has been implemented as a separate program to provide
  17. maximum capacity on the PC. 
  18.  
  19. It is usual to line simplify (thin) the segments before building as many
  20. digitised boundary files (e.g. census) are at a much higher resolution than 
  21. require for the display. Joining of line segments and further thinning may  
  22. follow. 
  23.  
  24. The algorithm assumes that the segments have been produced on a proper  
  25. digitising system and are correct e.g. it is assumed that end-points meet and   
  26. the segments do not cross. Problems such as repeated segments, missing segments 
  27. etc may cause problems. Ensure you use the program with trace turned on. If 
  28. necessary turn on debug and look at the OZGIS.OUT file. 
  29.  
  30. Use the file interrogation option to find the statistics on the geographic file 
  31. e.g. the number of zones.   
  32.  
  33. OzData can be used to generate a prototype attribute file (simple format) from  
  34. the zones in the geographics file and hence get some test data that can be  
  35. entered via OzEnter to form an attribute file. Displaying both files with   
  36. OzCensus will allow the file to be checked. 
  37.  
  38.  
  39.    Example   
  40.    -------
  41.  
  42. The procedure can be demonstrated with any of the geographic data files:
  43.  
  44. Use OzEnter to input the standard geographic file LOWE-G and give it name   
  45. TEMP1.  
  46.  
  47. Start OzData, select geographic files and then line simplification. Input file  
  48. TEMP1 and output the new one as TEMP2. Simplify according to the size of the
  49. final map on the screen e.g. give a value of 100 to throw away a lot of the 
  50. data points.
  51.  
  52. Now use OzZone to input TEMP2 and output it as TEMP3.   
  53.  
  54. Finally use OzCensus to display the result (using attribute file LOWE1).
  55.  
  56.